#nullable disable

using Microsoft.Extensions.DependencyInjection;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Drawing;
using SixLabors.ImageSharp.Drawing.Processing;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using System;
using System.Diagnostics;

namespace WWT.Providers
{
    public sealed class StarChart
    {
        private readonly ActivitySource _activitySource;
        private readonly double[] stars;
        private readonly double[] figures;

        public StarChart([FromKeyedServices(Constants.ActivitySourceName)]ActivitySource activitySource)
        {
            _activitySource = activitySource;

            #region 
            stars = new double[] {
                101.2833333,-16.71611111,-1.46,
                95.9875,-52.69583333,-0.72,
                213.9125,19.1825,-0.04,
                219.8958333,-60.83527778,-0.01,
                279.2333333,38.78361111,0.03,
                79.17083333,45.99805556,0.08,
                78.63333333,-8.201666667,0.12,
                114.825,5.225,0.38,
                24.425,-57.23666667,0.46,
                88.79166667,7.406944444,0.5,
                210.9541667,-60.37305556,0.61,
                297.6958333,8.868333333,0.77,
                68.97916667,16.50916667,0.85,
                247.35,-26.43194444,0.96,
                201.2958333,-11.16138889,0.98,
                116.325,28.02611111,1.14,
                344.4125,-29.62222222,1.16,
                310.3541667,45.28027778,1.25,
                191.9291667,-59.68861111,1.25,
                186.6458333,-63.09916667,1.33,
                219.9,-60.83555556,1.33,
                152.0916667,11.96722222,1.35,
                104.6541667,-28.97222222,1.5,
                187.7875,-57.11333333,1.63,
                263.4,-37.10388889,1.63,
                81.27916667,6.349722222,1.64,
                81.57083333,28.6075,1.65,
                138.3,-69.71722222,1.68,
                84.05,-1.201944444,1.7,
                186.65,-63.09944444,1.73,
                332.0583333,-46.96111111,1.74,
                193.5041667,55.95972222,1.77,
                122.3833333,-47.33666667,1.78,
                51.07916667,49.86111111,1.79,
                165.9291667,61.75083333,1.79,
                107.0958333,-26.39333333,1.84,
                276.0416667,-34.38472222,1.85,
                125.625,-59.50972222,1.86,
                206.8833333,49.31333333,1.86,
                264.3291667,-42.99777778,1.87,
                89.87916667,44.9475,1.9,
                252.1625,-69.02777778,1.92,
                99.425,16.39916667,1.93,
                306.4083333,-56.735,1.94,
                131.175,-54.70833333,1.96,
                113.65,31.88833333,1.98,
                141.8958333,-8.658611111,1.98,
                95.675,-17.95583333,1.98,
                31.79166667,23.4625,2,
                239.875,25.92027778,2,
                37.95,89.26416667,2.02,
                283.8125,-26.29666667,2.02,
                10.89583333,-17.98666667,2.04,
                85.1875,-1.942777778,2.05,
                2.095833333,29.09055556,2.06,
                17.42916667,35.62055556,2.06,
                86.9375,-9.669722222,2.06,
                211.6708333,-36.37,2.06,
                263.7333333,12.56,2.08,
                222.675,74.15555556,2.08,
                340.6666667,-46.88472222,2.1,
                47.04166667,40.95555556,2.12,
                177.2625,14.57194444,2.14,
                190.3791667,-48.95972222,2.17,
                305.5541667,40.25666667,2.2,
                136.9958333,-43.4325,2.21,
                10.125,56.53722222,2.23,
                233.6708333,26.71472222,2.23,
                83,-0.299166667,2.23,
                269.15,51.48888889,2.23,
                139.2708333,-59.27527778,2.25,
                120.8958333,-40.00333333,2.25,
                30.975,42.32972222,2.26,
                2.291666667,59.14972222,2.27,
                200.9791667,54.92527778,2.27,
                252.5375,-34.29333333,2.29,
                220.4791667,-47.38833333,2.3,
                204.9708333,-53.46638889,2.3,
                218.875,-42.15777778,2.31,
                240.0833333,-22.62166667,2.32,
                165.4583333,56.3825,2.37,
                6.570833333,-42.30611111,2.39,
                326.0458333,9.875,2.39,
                265.6208333,-39.03,2.41,
                345.9416667,28.08277778,2.42,
                257.5916667,-15.72472222,2.43,
                319.6416667,62.58555556,2.44,
                178.4541667,53.69472222,2.44,
                111.0208333,-29.30305556,2.45,
                311.55,33.97027778,2.46,
                14.175,60.71666667,2.47,
                346.1875,15.20527778,2.49,
                140.525,-55.01083333,2.5,
                45.56666667,4.089722222,2.53,
                208.8833333,-47.28833333,2.55,
                168.525,20.52361111,2.56,
                249.2875,-10.56722222,2.56,
                83.17916667,-17.82222222,2.58,
                183.95,-17.54194444,2.59,
                182.0875,-50.7225,2.6,
                285.65,-29.88027778,2.6,
                229.25,-9.383055556,2.61,
                154.9916667,19.84166667,2.61,
                241.3583333,-19.80555556,2.62,
                89.92916667,37.2125,2.62,
                84.90833333,-34.07416667,2.64,
                28.65833333,20.80805556,2.64,
                236.0666667,6.425555556,2.65,
                188.5958333,-23.39666667,2.65,
                224.6291667,-43.13388889,2.68,
                21.45416667,60.23527778,2.68,
                208.6708333,18.39777778,2.68,
                189.2958333,-69.13555556,2.69,
                74.24583333,33.16611111,2.69,
                161.6916667,-49.42,2.69,
                262.6875,-37.29583333,2.69,
                275.2458333,-29.82805556,2.7,
                221.2458333,27.07416667,2.7,
                109.2833333,-37.0975,2.7,
                296.5625,10.61333333,2.72,
                243.5833333,-3.694444444,2.74,
                245.9958333,61.51416667,2.74,
                222.7166667,-16.04166667,2.75,
                200.1458333,-36.71222222,2.75,
                160.7375,-64.39444444,2.76,
                247.5541667,21.48972222,2.77,
                265.8666667,4.567222222,2.77,
                83.85833333,-5.91,2.77,
                233.7833333,-41.16694444,2.78,
                262.6083333,52.30138889,2.79,
                76.9625,-5.086388889,2.79,
                6.4375,-77.25416667,2.8,
                183.7833333,-58.74888889,2.8,
                276.9916667,-25.42166667,2.81,
                121.8833333,-24.30416667,2.81,
                250.3208333,31.60305556,2.81,
                248.9708333,-28.21611111,2.82,
                195.5416667,10.95916667,2.83,
                3.308333333,15.18361111,2.83,
                82.05833333,-20.75944444,2.84,
                261.325,-55.53,2.85,
                238.7833333,-63.43055556,2.85,
                58.52916667,31.88361111,2.85,
                29.69166667,-61.56972222,2.86,
                334.625,-60.25972222,2.86,
                326.7583333,-16.12722222,2.87,
                296.2416667,45.13083333,2.87,
                56.87083333,24.105,2.87,
                113.65,31.88861111,2.88,
                95.7375,22.51361111,2.88,
                59.4625,40.01027778,2.89,
                229.725,-68.67944444,2.89,
                287.4375,-21.02361111,2.89,
                239.7125,-26.11416667,2.89,
                245.2958333,-25.59277778,2.89,
                194.0041667,38.31833333,2.9,
                111.7875,8.289444444,2.9,
                322.8875,-5.571111111,2.91,
                46.19583333,53.50638889,2.93,
                102.4833333,-50.61472222,2.93,
                340.75,30.22138889,2.94,
                262.9583333,-49.87611111,2.95,
                187.4625,-16.51555556,2.95,
                59.50416667,-13.50861111,2.95,
                331.4458333,-0.319722222,2.96,
                100.9791667,25.13111111,2.98,
                146.4625,23.77416667,2.98,
                75.49166667,43.82333333,2.99,
                271.45,-30.42416667,2.99,
                286.35,13.86333333,2.99,
                32.38333333,34.98722222,3,
                182.5291667,-22.61972222,3,
                199.7291667,-23.17166667,3,
                84.40833333,21.1425,3,
                55.72916667,47.7875,3.01,
                328.4791667,-37.365,3.01,
                167.4125,44.49861111,3.01,
                146.775,-65.07194444,3.01,
                105.7541667,-23.83333333,3.02,
                95.075,-30.06333333,3.02,
                218.0166667,38.30833333,3.03,
                266.8958333,-40.12694444,3.03,
                207.4041667,-42.47388889,3.04,
                34.83333333,-2.9775,3.04,
                191.5666667,-68.10805556,3.05,
                230.1791667,71.83388889,3.05,
                155.5791667,41.49944444,3.05,
                288.1375,67.66166667,3.07,
                305.25,-14.78138889,3.08,
                292.6791667,27.95972222,3.08,
                252.9666667,-38.0475,3.08,
                309.3916667,-47.29138889,3.11,
                274.4041667,-36.76166667,3.11,
                162.4041667,-16.19361111,3.11,
                133.8458333,5.945555556,3.11,
                87.7375,-35.76833333,3.12,
                140.2625,34.3925,3.13,
                142.8041667,-57.03444444,3.13,
                224.7875,-42.10416667,3.13,
                173.9416667,-63.01972222,3.13,
                254.6541667,-55.99027778,3.13,
                258.7541667,24.83916667,3.14,
                134.8,48.04166667,3.14,
                258.7583333,36.80916667,3.16,
                76.625,41.23444444,3.17,
                99.4375,-43.19611111,3.17,
                281.4125,-26.99083333,3.17,
                143.2125,51.67722222,3.17,
                257.1958333,65.71472222,3.17,
                220.625,-64.97527778,3.19,
                76.3625,-22.37111111,3.19,
                72.45833333,6.961388889,3.19,
                254.4166667,9.375,3.2,
                318.2333333,30.22694444,3.2,
                354.8333333,77.6325,3.21,
                267.4625,-37.04333333,3.21,
                230.3416667,-40.6475,3.22,
                322.1625,70.56083333,3.23,
                302.825,-0.821388889,3.23,
                244.5791667,-4.6925,3.24,
                56.80833333,-74.23888889,3.24,
                284.7333333,32.68944444,3.24,
                44.5625,-40.30472222,3.24,
                112.3041667,-43.30138889,3.25,
                275.325,-2.898888889,3.26,
                68.49583333,-55.045,3.27,
                102.0458333,-61.94138889,3.27,
                9.829166667,30.86083333,3.27,
                343.6625,-15.82083333,3.27,
                211.5916667,-26.6825,3.27,
                260.5,-24.99944444,3.27,
                93.71666667,22.50666667,3.28,
                231.2291667,58.96611111,3.29,
                226.0166667,-25.28194444,3.29,
                16.52083333,-46.71861111,3.31,
                183.8541667,57.0325,3.31,
                78.22916667,-16.20555556,3.31,
                158.0041667,-61.68527778,3.32,
                153.4333333,-70.03805556,3.32,
                286.7333333,-27.67055556,3.32,
                258.0375,-43.23916667,3.33,
                261.3458333,-56.3775,3.34,
                269.7541667,-9.773611111,3.34,
                168.5583333,15.42944444,3.34,
                117.3208333,-24.85972222,3.34,
                63.60416667,-62.47388889,3.35,
                332.7125,58.20111111,3.35,
                291.3708333,3.114722222,3.36,
                81.11666667,-2.396944444,3.36,
                127.5625,60.71805556,3.36,
                101.3208333,12.89555556,3.36,
                230.6666667,-44.68944444,3.37,
                203.6708333,-0.595833333,3.37,
                193.9,3.3975,3.38,
                28.59583333,63.67,3.38,
                131.6916667,6.418888889,3.38,
                46.29166667,38.84027778,3.39,
                154.2708333,-61.33222222,3.4,
                67.1625,15.87083333,3.4,
                340.3625,10.83138889,3.4,
                28.26666667,29.57888889,3.41,
                240.0291667,-38.39694444,3.41,
                22.0875,-43.31833333,3.41,
                207.375,-41.68777778,3.41,
                228.0708333,-52.09916667,3.41,
                311.2375,-66.20305556,3.42,
                266.6125,27.72055556,3.42,
                311.3208333,61.83888889,3.43,
                12.275,57.81583333,3.44,
                137.7416667,-58.96694444,3.44,
                286.5583333,-4.8825,3.44,
                154.1708333,23.41722222,3.44,
                282.5166667,33.36277778,3.45,
                17.14583333,-10.18222222,3.45,
                154.2708333,42.91444444,3.45,
                119.1916667,-52.98222222,3.47,
                228.875,33.31472222,3.47,
                40.825,3.235833333,3.47,
                299.6875,19.49222222,3.47,
                60.16666667,12.49027778,3.47,
                105.4291667,-27.93472222,3.47,
                258.6583333,14.39027778,3.48,
                342.5,24.60166667,3.48,
                169.6166667,33.09416667,3.48,
                342.1375,-51.31694444,3.49,
                225.4833333,40.39055556,3.5,
                26.01666667,-15.9375,3.5,
                276.7416667,-45.96833333,3.51,
                284.4291667,-21.10666667,3.51,
                124.125,9.185555556,3.52,
                151.8333333,16.76277778,3.52,
                342.4166667,66.20055556,3.52,
                145.2875,9.892222222,3.52,
                110.0291667,21.98222222,3.53,
                67.15416667,19.18027778,3.53,
                250.7208333,38.92222222,3.53,
                237.4041667,-3.430277778,3.53,
                332.55,6.197777778,3.53,
                55.80833333,-9.763333333,3.54,
                83.78333333,9.934166667,3.54,
                149.2125,-54.56777778,3.54,
                173.25,-31.85777778,3.54,
                264.3958333,-15.39861111,3.54,
                214.85,-46.05777778,3.55,
                86.7375,-14.82194444,3.55,
                169.8333333,-14.77861111,3.56,
                302.1791667,-66.18194444,3.56,
                4.854166667,-8.823888889,3.56,
                34.125,-51.51222222,3.56,
                230.45,-36.26138889,3.56,
                64.47083333,-33.79833333,3.56,
                24.49583333,48.62833333,3.57,
                304.5125,-12.54472222,3.57,
                275.2625,72.73277778,3.57,
                116.1083333,24.39805556,3.57,
                253.0833333,-38.0175,3.57,
                109.5208333,16.54027778,3.58,
                217.9541667,30.37138889,3.58,
                234.2541667,-28.135,3.58,
                185.3375,-60.40111111,3.59,
                86.1125,-22.44833333,3.6,
                135.9041667,47.15666667,3.6,
                51.2,9.028888889,3.6,
                142.675,-40.46666667,3.6,
                79.4,-6.844444444,3.6,
                21.00416667,-8.183333333,3.6,
                103.1958333,33.96111111,3.6,
                177.6708333,1.764722222,3.61,
                116.3125,-37.96861111,3.61,
                152.6458333,-12.35416667,3.61,
                262.7708333,-60.68388889,3.62,
                195.5666667,-71.54888889,3.62,
                266.4333333,-64.72388889,3.62,
                22.87083333,15.34583333,3.62,
                130.0708333,-52.92194444,3.62,
                345.4791667,42.32611111,3.62,
                253.6458333,-42.36138889,3.62,
                57.2875,24.05333333,3.63,
                42.49583333,27.26055556,3.63,
                309.3875,14.59527778,3.63,
                176.4,-66.72861111,3.64,
                211.0958333,64.37583333,3.65,
                313.7,-58.45416667,3.65,
                64.94583333,15.6275,3.65,
                190.4125,-1.449444444,3.65,
                347.3583333,-21.1725,3.66,
                234.6625,-29.77777778,3.66,
                271.6541667,-50.09166667,3.66,
                9.241666667,53.89694444,3.66,
                142.8791667,63.06194444,3.67,
                236.5458333,15.42194444,3.67,
                130.8958333,-33.18638889,3.68,
                231.9541667,29.10583333,3.68,
                325.0208333,-16.66222222,3.68,
                190.4125,-1.449444444,3.68,
                349.2875,3.282222222,3.69,
                146.3083333,-62.50777778,3.69,
                72.8,5.605,3.69,
                49.87916667,-21.75777778,3.69,
                56.21666667,24.11333333,3.7,
                28.9875,-51.60888889,3.7,
                269.4375,29.24777778,3.7,
                298.825,6.406666667,3.71,
                176.5125,47.77944444,3.71,
                237.7041667,4.477777778,3.71,
                89.1,-14.16777778,3.71,
                221.5583333,1.892777778,3.72,
                89.87916667,54.28472222,3.72,
                73.5625,2.440555556,3.72,
                318.6958333,38.04555556,3.72,
                316.2291667,43.92777778,3.72,
                271.8375,9.563888889,3.73,
                53.22916667,-9.458333333,3.73,
                118.0541667,-40.57583333,3.73,
                27.8625,-10.335,3.73,
                343.15,-7.579722222,3.74,
                51.79166667,9.732777778,3.74,
                321.6666667,-22.41138889,3.74,
                337.2916667,58.41527778,3.75,
                245.4791667,19.15305556,3.75,
                266.9708333,2.707222222,3.75,
                136.0375,-47.09777778,3.75,
                268.3791667,56.87277778,3.75,
                75.61666667,41.07583333,3.75,
                83.40416667,-62.48972222,3.76,
                65.73333333,17.5425,3.76,
                252.4458333,-59.04138889,3.76,
                42.67083333,55.89555556,3.76,
                331.75,25.345,3.76,
                325.3666667,-77.39,3.76,
                309.9083333,15.91194444,3.77,
                337.8208333,50.2825,3.77,
                126.4333333,-66.13694444,3.77,
                311.9166667,-9.495833333,3.77,
                289.275,53.36861111,3.77,
                56.29583333,42.57861111,3.77,
                286.1708333,-21.74166667,3.77,
                107.1833333,-70.49888889,3.78,
                163.3708333,-58.85333333,3.78,
                303.4041667,46.74138889,3.79,
                111.4291667,27.79805556,3.79,
                292.425,51.72972222,3.79,
                106.025,20.57027778,3.79,
                233.7,10.5375,3.8,
                233.7,10.53916667,3.8,
                154.9916667,19.84055556,3.8,
                264.8625,46.00638889,3.8,
                47.37083333,44.85722222,3.8,
                147.7458333,59.03861111,3.8,
                87.82916667,-20.87916667,3.81,
                156.5208333,-16.83638889,3.81,
                84.68333333,-2.6,3.81,
                139.7083333,36.8025,3.82,
                296.8458333,18.53416667,3.82,
                156.9666667,-58.73944444,3.82,
                354.3875,46.45805556,3.82,
                247.725,1.983888889,3.82,
                68.8875,-30.56222222,3.82,
                163.325,34.215,3.83,
                221.9625,-79.04472222,3.83,
                297.0416667,70.26777778,3.83,
                271.8833333,28.7625,3.83,
                56.07916667,32.28833333,3.83,
                209.5666667,-42.10083333,3.83,
                275.9208333,21.76972222,3.84,
                335.4125,-1.387222222,3.84,
                235.6833333,26.29555556,3.84,
                130.1541667,-46.64888889,3.84,
                133.7583333,-60.64472222,3.84,
                159.325,-48.22583333,3.84,
                172.85,69.33111111,3.84,
                67.14166667,15.96222222,3.84,
                278.8,-8.244166667,3.85,
                86.82083333,-51.06638889,3.85,
                56.05,-64.80694444,3.85,
                95.525,-33.43638889,3.85,
                243.8583333,-63.68555556,3.85,
                239.1125,15.66166667,3.85,
                153.6833333,-42.12194444,3.85,
                108.7,-26.77277778,3.85,
                158.2,9.306666667,3.85,
                63.5,-42.29444444,3.86,
                273.4375,-21.05888889,3.86,
                189.425,-48.54111111,3.86,
                269.0625,37.25055556,3.86,
                56.45416667,24.36777778,3.87,
                69.54166667,-14.30388889,3.87,
                48.01666667,-28.98694444,3.87,
                82.8,-35.47055556,3.87,
                188.1166667,-72.13305556,3.87,
                188.3708333,69.78833333,3.87,
                227.9833333,-48.73777778,3.87,
                14.1875,38.49944444,3.87,
                103.5291667,-24.18388889,3.87,
                209.6666667,-44.80361111,3.87,
                2.35,-45.7475,3.88,
                202.7583333,-39.4075,3.88,
                148.1875,26.00694444,3.88,
                220.7625,-5.658333333,3.88,
                239.2208333,-29.21416667,3.88,
                138.5875,2.314166667,3.88,
                299.075,35.08333333,3.89,
                44.10416667,-8.898055556,3.89,
                184.975,-0.666944444,3.89,
                248.3625,-78.89722222,3.89,
                170.25,-54.49111111,3.89,
                244.9333333,46.31333333,3.89,
                298.1166667,1.005555556,3.9,
                126.4125,-3.906388889,3.9,
                347.5875,-45.24666667,3.9,
                233.8791667,-14.78944444,3.91,
                131.5041667,-46.04166667,3.91,
                167.1458333,-58.975,3.91,
                144.9625,-1.142777778,3.91,
                60.7875,5.989166667,3.91,
                187.0083333,-50.23055556,3.91,
                318.9541667,5.247777778,3.92,
                255.0708333,30.92638889,3.92,
                17.09583333,-55.24583333,3.92,
                115.3083333,-9.551111111,3.93,
                69.07916667,-3.3525,3.93,
                290.4166667,-17.84722222,3.93,
                131.1708333,18.15416667,3.94,
                170.9791667,10.52916667,3.94,
                6.55,-43.68,3.94,
                314.2916667,41.16722222,3.94,
                237.7375,-33.62722222,3.95,
                22.8125,-49.07277778,3.95,
                341.6291667,23.56555556,3.95,
                99.17083333,-19.25583333,3.95,
                43.5625,52.7625,3.95,
                200.9833333,54.92166667,3.95,
                115.4541667,-72.60611111,3.95,
                115.95,-28.95472222,3.96,
                66.00833333,-34.01694444,3.96,
                300.1458333,-72.91055556,3.96,
                89.78333333,-42.81527778,3.96,
                102.4583333,-32.50861111,3.96,
                241.7,-20.66916667,3.96,
                182.9125,-52.36861111,3.96,
                270.1583333,2.931666667,3.97,
                350.7416667,-20.10055556,3.97,
                290.9708333,-40.61611111,3.97,
                130.025,-35.30833333,3.97,
                337.3166667,-43.49555556,3.97,
                135.1583333,41.78277778,3.97,
                137.8166667,-62.31722222,3.97,
                87.87083333,39.14861111,3.97,
                303.8666667,47.71444444,3.98,
                30.85833333,72.42138889,3.98,
                109.2041667,-67.95722222,3.98,
                93.7125,-6.274722222,3.98,
                349.3541667,-58.23583333,3.99,
                135.6083333,-66.39611111,4,
                156.0958333,-74.03166667,4,
                220.4875,-37.79361111,4,
                43.46666667,-49.89027778,4,
                30,-21.07777778,4,
                307.3458333,30.36861111,4.01,
                201.3041667,54.98805556,4.01,
                290.6583333,-44.45888889,4.01,
                132.6291667,-27.71,4.01,
                34.325,33.84722222,4.01,
                242.9958333,-19.46055556,4.01,
                359.825,6.863333333,4.01,
                342.3958333,-13.5925,4.01,
                240.4708333,58.56527778,4.01,
                280.7583333,-71.42805556,4.01,
                285.4166667,-5.738888889,4.02,
                182.1,-24.72888889,4.02,
                284.9041667,15.06833333,4.02,
                338.8375,-0.1175,4.02,
                244.9583333,-50.15555556,4.02,
                131.6708333,28.76,4.02,
                71.375,-3.254722222,4.02,
                323.4916667,45.59194444,4.02,
                271.3625,2.499444444,4.03,
                75.85416667,60.44222222,4.03,
                308.3,11.30333333,4.03,
                193.6458333,-57.17777778,4.03,
                176.4625,6.529444444,4.03,
                283.8333333,43.94611111,4.04,
                62.1625,47.7125,4.04,
                62.9625,-6.8375,4.04,
                59.7375,35.79111111,4.04,
                184.6083333,-64.00305556,4.04,
                220.9125,-35.17361111,4.05,
                47.26666667,49.61333333,4.05,
                227.2083333,-45.27972222,4.05,
                215.1375,-37.88527778,4.05,
                219.4708333,-49.42583333,4.05,
                170.2833333,6.029444444,4.05,
                216.2958333,51.85083333,4.05,
                254.8958333,-53.16055556,4.06,
                113.9791667,26.89583333,4.06,
                11.83333333,24.26722222,4.06,
                124.6291667,-76.91972222,4.07,
                229.375,-58.80111111,4.07,
                39.87083333,0.328611111,4.07,
                131.1,-42.64916667,4.07,
                74.09166667,13.51444444,4.07,
                25.9125,50.68861111,4.07,
                103.5458333,-12.03861111,4.07,
                316.4833333,-17.23277778,4.07,
                207.3666667,15.79777778,4.07,
                320.5208333,19.80444444,4.08,
                164.9416667,-18.29888889,4.08,
                171.2166667,-17.68388889,4.08,
                143.6083333,-59.22944444,4.08,
                214,-6.000555556,4.08,
                325.875,58.78,4.08,
                35.43333333,-68.65944444,4.09,
                237.1833333,18.14166667,4.09,
                84.225,9.290555556,4.09,
                45.59583333,-23.62444444,4.09,
                24.19583333,41.40555556,4.09,
                52.71666667,12.93666667,4.11,
                287.3666667,-37.90444444,4.11,
                287.5041667,-39.34083333,4.11,
                337.4375,-43.74944444,4.11,
                39.89583333,-68.26694444,4.11,
                184.3916667,-67.96083333,4.11,
                234.1791667,-66.31694444,4.11,
                158.8666667,-78.60777778,4.11,
                117.3083333,-46.37333333,4.11,
                176.625,-61.17833333,4.11,
                40.16666667,-39.85555556,4.11,
                312.9541667,-26.91916667,4.11,
                105.9375,-15.63333333,4.12,
                90.59583333,9.6475,4.12,
                181.3,8.733055556,4.12,
                41.05,49.22833333,4.12,
                147.8666667,-14.84666667,4.12,
                345.2166667,-52.75416667,4.12,
                333.9916667,37.74888889,4.13,
                354.9875,5.626388889,4.13,
                298.8125,-41.86833333,4.13,
                326.1583333,25.645,4.13,
                277.2041667,-49.07083333,4.13,
                80.98333333,-7.808055556,4.14,
                129.4083333,-42.98916667,4.14,
                355.1,44.33388889,4.14,
                63.72083333,48.40944444,4.14,
                311.5208333,-25.27083333,4.14,
                233.2291667,31.35916667,4.14,
                341.5125,-81.38166667,4.15,
                107.9625,-0.492777778,4.15,
                239.3958333,26.87777778,4.15,
                181.7166667,-64.61361111,4.15,
                97.2375,20.21222222,4.15,
                238.4541667,-16.72944444,4.15,
                91.02916667,23.26333333,4.16,
                129.4125,5.703611111,4.16,
                249.0916667,-35.25555556,4.16,
                8.25,62.93166667,4.16,
                334.2083333,-7.783333333,4.16,
                261.5916667,-24.17527778,4.17,
                340.1625,-27.04361111,4.17,
                57.3625,-36.20027778,4.17,
                56.57916667,23.94833333,4.18,
                214.0958333,46.08833333,4.18,
                112.275,31.78444444,4.18,
                281.4125,20.54638889,4.19,
                207.3583333,-34.45083333,4.19,
                333.7583333,57.04361111,4.19,
                213.2208333,-10.27361111,4.19,
                341.6708333,12.17277778,4.19,
                119.2125,-22.88,4.2,
                82.69583333,5.948055556,4.2,
                248.525,42.43694444,4.2,
                156.9708333,36.70722222,4.21,
                343.9833333,-32.53972222,4.21,
                52.26666667,59.94027778,4.21,
                348.9708333,-9.087777778,4.21,
                85.1875,-1.942777778,4.21,
                311.4125,30.71972222,4.22,
                281.7916667,-4.747777778,4.22,
                321.6083333,-65.36611111,4.22,
                66.34166667,22.29388889,4.22,
                283.0541667,-62.1875,4.22,
                348.5791667,-6.048888889,4.22,
                275.1875,71.33777778,4.22,
                307.3916667,62.99416667,4.22,
                206.4208333,-33.04388889,4.23,
                42.64583333,38.31861111,4.23,
                297.6375,32.91416667,4.23,
                251.4916667,82.03722222,4.23,
                247.8416667,-34.70444444,4.23,
                326.6958333,49.30944444,4.23,
                54.12083333,48.19277778,4.23,
                319.3541667,39.39472222,4.23,
                56.70833333,-23.24972222,4.23,
                241.6458333,-36.80222222,4.23,
                5.016666667,-64.87472222,4.23,
                304.4083333,-12.50833333,4.24,
                250.7666667,-77.5175,4.24,
                118.325,-48.10305556,4.24,
                125.7083333,43.18805556,4.25,
                216.8791667,75.69611111,4.25,
                69.17083333,41.26472222,4.25,
                68.9125,10.16083333,4.25,
                156.7875,-31.06777778,4.25,
                134.6208333,11.85777778,4.25,
                64.00416667,-51.48666667,4.25,
                17.18333333,86.25694444,4.25,
                36.74583333,-47.70388889,4.25,
                17.375,47.24194444,4.25,
                41.02916667,-13.85861111,4.25,
                188.4333333,41.3575,4.26,
                184.5833333,-79.31222222,4.26,
                197.9666667,27.87805556,4.26,
                26.34583333,9.157777778,4.26,
                265.35,-12.87527778,4.26,
                242.1916667,44.935,4.26,
                89.98333333,45.93694444,4.26,
                210.4083333,1.544444444,4.26,
                69.5375,12.51083333,4.27,
                122.3708333,-47.34583333,4.27,
                311.6625,16.12416667,4.27,
                49.97916667,-43.06972222,4.27,
                193.3583333,-40.17888889,4.27,
                331.6083333,-13.86972222,4.27,
                77.28333333,-8.754166667,4.27,
                41.23333333,10.11416667,4.27,
                229.6333333,-47.875,4.27,
                53.44583333,-21.63277778,4.27,
                196.725,-49.90611111,4.27,
                54.21666667,0.401666667,4.28,
                178.225,-33.90805556,4.28,
                15.73333333,7.89,4.28,
                159.825,-55.60333333,4.28,
                320.5583333,-16.83444444,4.28,
                247.7833333,-16.61277778,4.28,
                115.825,28.88361111,4.28,
                70.55833333,22.95694444,4.28,
                346.7166667,-43.52055556,4.28,
                351.9916667,6.378888889,4.28,
                66.575,22.81361111,4.28,
                37.0375,8.46,4.28,
                261.8375,-29.86694444,4.29,
                73.5125,66.34277778,4.29,
                337.875,-32.34611111,4.29,
                290.8041667,-44.79972222,4.29,
                66.37083333,17.92805556,4.29,
                144.2708333,81.32638889,4.29,
                264.1333333,-38.63527778,4.29,
                354.5333333,43.26805556,4.29,
                79.89166667,-13.17666667,4.29,
                61.64583333,50.35138889,4.29,
                63.88333333,8.892222222,4.29,
                326.3583333,61.12083333,4.29,
                332.4958333,33.17833333,4.29,
                330.9458333,64.62777778,4.29,
                56.3,24.46722222,4.3,
                303.3458333,56.56777778,4.3,
                283.625,36.89888889,4.3,
                130.8041667,3.398611111,4.3,
                174.2333333,-0.823888889,4.3,
                14.65,-29.3575,4.31,
                188.0166667,-16.19611111,4.31,
                142.9291667,22.96805556,4.31,
                231.1208333,37.37722222,4.31,
                131.5916667,-13.54777778,4.32,
                70.10833333,-19.67166667,4.32,
                309.5833333,-1.105277778,4.32,
                216.725,-83.66777778,4.32,
                112.0375,8.925555556,4.32,
                177.4208333,-63.78833333,4.32,
                241.85,-20.86861111,4.32,
                222.9083333,-43.57555556,4.32,
                236.0125,77.79444444,4.32,
                30.50833333,2.763611111,4.33,
                130.1541667,-59.76111111,4.33,
                193.275,-48.94333333,4.33,
                215.0791667,-56.38666667,4.33,
                274.9625,36.06444444,4.33,
                260.2041667,-12.84694444,4.33,
                234.5125,-42.5675,4.33,
                17.775,55.14972222,4.33,
                180.7541667,-63.31277778,4.33,
                97.9625,-23.41833333,4.33,
                229.4541667,-30.14888889,4.34,
                326.125,17.35,4.34,
                139.05,-57.54138889,4.34,
                326.2333333,-33.02583333,4.34,
                261.625,4.140277778,4.34,
                210.4291667,-45.60361111,4.34,
                122.1458333,-2.983888889,4.34,
                104.3166667,58.4225,4.35,
                47.90416667,19.72666667,4.35,
                86.19166667,-65.73555556,4.35,
                121.9791667,-68.61722222,4.35,
                144.2041667,-49.35527778,4.35,
                93.84166667,29.49805556,4.35,
                272.1416667,-63.66833333,4.35,
                216.5416667,-45.37944444,4.35,
                125.1583333,-77.48444444,4.35,
                44.56666667,-40.30444444,4.35,
                272.1875,20.81444444,4.36,
                281.7541667,18.18138889,4.36,
                61.17083333,22.08194444,4.36,
                337.3791667,47.70694444,4.36,
                211.5083333,-41.17972222,4.36,
                263.05,86.58638889,4.36,
                10.8375,-57.46305556,4.36,
                89.38333333,-35.28333333,4.36,
                186.7333333,28.26833333,4.36,
                294.1791667,-1.286388889,4.36,
                78.30416667,-12.94138889,4.36,
                9.216666667,33.71944444,4.36,
                72.65,8.900277778,4.36,
                132.1083333,5.837777778,4.36,
                52.64166667,47.99527778,4.36,
                289.0916667,38.13361111,4.36,
                275.8041667,-61.49388889,4.36,
                281.1916667,37.605,4.36,
                151.975,9.9975,4.37,
                295.0208333,18.01388889,4.37,
                295.2583333,17.47611111,4.37,
                353.2416667,-37.81833333,4.37,
                7.883333333,-62.95805556,4.37,
                9.6375,29.31166667,4.37,
                104.0333333,-17.05416667,4.37,
                94.1375,-35.14055556,4.37,
                299.9333333,-35.27638889,4.37,
                33.25,8.846666667,4.37,
                83.05,18.59444444,4.38,
                253.5,10.16527778,4.38,
                197.4875,-5.538888889,4.38,
                351.5083333,-20.64194444,4.39,
                288.4375,39.14611111,4.39,
                98.74166667,-52.97555556,4.39,
                120.5625,2.334444444,4.39,
                165.0375,-42.22583333,4.39,
                302.2208333,77.71138889,4.39,
                73.22083333,-5.452777778,4.39,
                349.475,-9.1825,4.39,
                319.9666667,-53.44972222,4.39,
                260.25,-21.11277778,4.39,
                225.725,2.091388889,4.4,
                122.2541667,-19.245,4.4,
                329.4791667,-54.9925,4.4,
                102.4625,-53.62222222,4.4,
                109.675,-24.95416667,4.4,
                351.3416667,23.40416667,4.4,
                0.4875,-6.014166667,4.41,
                222.5708333,-27.96027778,4.41,
                88.59166667,20.27611111,4.41,
                349.7041667,-32.53194444,4.41,
                119.5583333,-49.245,4.41,
                262.6833333,26.11055556,4.41,
                269.625,30.18944444,4.41,
                83.70416667,9.489444444,4.41,
                346.9708333,75.3875,4.41,
                28.40833333,-46.3025,4.41,
                107.7833333,30.24527778,4.41,
                169.5458333,31.52916667,4.41,
                311.9333333,-5.027777778,4.42,
                165.5791667,20.17972222,4.42,
                246.7541667,-18.45638889,4.42,
                14.3,23.4175,4.42,
                215.7583333,-39.51222222,4.42,
                91.89166667,14.76833333,4.42,
                56.53333333,-12.10166667,4.42,
                218.15,-50.45694444,4.42,
                337.2083333,-0.02,4.42,
                305.9625,32.19,4.43,
                335.8875,52.22916667,4.43,
                310.8625,15.07444444,4.43,
                12.17083333,7.585,4.43,
                236.6083333,7.353055556,4.43,
                99.47083333,-18.2375,4.43,
                63.81666667,-7.652777778,4.43,
                319.4791667,34.89694444,4.43,
                220.2833333,13.72833333,4.43,
                3.658333333,-18.93277778,4.44,
                292.175,24.665,4.44,
                95.94166667,4.592777778,4.44,
                64.11666667,-59.30194444,4.44,
                123.5083333,-40.34805556,4.44,
                284.2375,-67.23361111,4.44,
                25.35416667,5.4875,4.44,
                129.6875,3.341388889,4.44,
                270.4375,1.305277778,4.45,
                70.1375,-41.86388889,4.45,
                161.4416667,-80.54027778,4.45,
                113.5125,-22.29611111,4.45,
                122.8375,-39.61861111,4.45,
                124.6375,-36.65944444,4.45,
                135.0208333,-41.25388889,4.45,
                158.8958333,-57.55777778,4.45,
                78.07083333,-11.86916667,4.45,
                293.5208333,7.378888889,4.45,
                248.0333333,-21.46638889,4.45,
                288.8875,73.35555556,4.45,
                340.125,44.27638889,4.46,
                42.27083333,-32.40583333,4.46,
                343.1291667,-32.87555556,4.46,
                177.7833333,-45.17361111,4.46,
                141.1625,26.18222222,4.46,
                331.525,-39.54333333,4.46,
                78.32083333,2.861111111,4.46,
                218.6666667,29.745,4.46,
                101.9625,2.412222222,4.47,
                74.32083333,53.75222222,4.47,
                346.6666667,-23.74305556,4.47,
                246.7958333,-47.555,4.47,
                57.37916667,65.52611111,4.47,
                182.0208333,-50.66138889,4.47,
                50.08333333,29.04833333,4.47,
                169.1625,-3.651666667,4.47,
                74.63333333,1.714166667,4.47,
                41.275,-18.5725,4.47,
                137.2166667,51.60472222,4.48,
                94.90416667,59.01083333,4.48,
                151.8541667,35.24472222,4.48,
                167.9125,-22.82583333,4.48,
                336.8333333,-64.96638889,4.48,
                136.2833333,-72.60277778,4.48,
                97.04166667,-32.58,4.48,
                294.1083333,50.22111111,4.48,
                92.98333333,14.20888889,4.48,
                224.2958333,-4.346388889,4.49,
                100.9958333,13.22777778,4.49,
                66.58333333,15.61833333,4.49,
                151.9833333,-0.371666667,4.49,
                318.6166667,10.00694444,4.49,
                108.1375,-46.75944444,4.49,
                118.1583333,-38.86305556,4.49,
                131.675,-56.76972222,4.49,
                333.4666667,39.715,4.49,
                355.6791667,-14.545,4.49,
                98.225,7.333055556,4.5,
                316.7791667,-25.00583333,4.5,
                143.7041667,52.05138889,4.5,
                163.9,24.74972222,4.5,
                359.9791667,-65.57722222,4.5,
                114.7041667,-26.80166667,4.5,
                155.225,-56.04305556,4.5,
                355.5083333,1.78,4.5,
                332.0958333,-32.98861111,4.5,
                117.0208333,-25.93722222,4.5,
                246.025,-20.0375,4.5,
                206.8125,17.45666667,4.5,
                322.1791667,-21.80722222,4.51,
                41.975,29.24722222,4.51,
                337.6208333,43.12333333,4.51,
                142.3083333,-35.95138889,4.51,
                311.0083333,-51.92111111,4.51,
                230.8416667,-59.32083333,4.51,
                87.45416667,-56.16666667,4.51,
                60.22083333,-62.15944444,4.51,
                311.3375,57.57972222,4.51,
                317.3958333,-11.37166667,4.51,
                300.7041667,67.87361111,4.51,
                17.9125,30.08972222,4.51,
                68.375,-29.76666667,4.51,
                303.9416667,27.81416667,4.52,
                346.75,9.409444444,4.52,
                299.2333333,-27.17,4.52,
                348.1375,49.40638889,4.52,
                144.8375,-61.32805556,4.52,
                37.26666667,67.4025,4.52,
                235.3875,19.67027778,4.52,
                214.775,-13.37111111,4.52,
                260.9208333,37.14583333,4.52,
                4.579166667,36.78527778,4.52,
                87.29166667,39.18111111,4.52,
                42.875,35.05972222,4.53,
                176.9958333,20.21888889,4.53,
                345.9666667,3.82,4.53,
                272.8041667,-45.95444444,4.53,
                90.0125,-3.074166667,4.53,
                114.3416667,-34.96861111,4.53,
                200.6541667,-60.98833333,4.53,
                201,-64.53583333,4.53,
                311.85,36.49083333,4.53,
                12.45,41.07888889,4.53,
                79.54166667,33.37166667,4.54,
                266.8875,-27.83083333,4.54,
                30.4875,70.90694444,4.54,
                112.4458333,12.00666667,4.54,
                7.8875,-62.96583333,4.54,
                52.475,58.87861111,4.54,
                233.9708333,-44.95861111,4.54,
                261.6541667,-5.086666667,4.54,
                228.0541667,-19.79166667,4.54,
                213.3708333,51.79027778,4.54,
                11.17916667,48.28444444,4.54,
                230.7875,-36.85861111,4.54,
                226.1083333,26.9475,4.54,
                358.5958333,57.49944444,4.54,
                98.7625,-22.96472222,4.54,
                143.5541667,36.3975,4.55,
                0.933333333,-17.33611111,4.55,
                316.65,47.64833333,4.55,
                352.2875,12.76055556,4.55,
                76.1,-35.48333333,4.55,
                105.0166667,76.9775,4.55,
                245.1583333,-24.16944444,4.55,
                222.8458333,19.10111111,4.55,
                325.4791667,71.31138889,4.56,
                143.6166667,69.83027778,4.56,
                207.9541667,-32.99444444,4.56,
                59.68333333,-61.40027778,4.56,
                136.6291667,38.45222222,4.56,
                216.5333333,-45.22138889,4.56,
                335.2541667,46.53666667,4.57,
                322.4833333,23.63888889,4.57,
                336.1291667,49.47638889,4.57,
                357.2291667,-28.13027778,4.57,
                154.9,-55.02944444,4.57,
                160.8833333,-60.56666667,4.57,
                272.0208333,-28.45722222,4.57,
                246.3541667,14.03333333,4.57,
                84.79583333,4.121388889,4.57,
                142.9916667,-1.185,4.57,
                298.3625,24.07972222,4.58,
                88.32916667,27.61222222,4.58,
                300.6625,-27.70972222,4.58,
                54.27083333,-40.27472222,4.58,
                147.9166667,-46.54777778,4.58,
                137.0083333,-25.85833333,4.58,
                265.4833333,72.14888889,4.58,
                115.8833333,-28.41111111,4.59,
                283.6833333,22.645,4.59,
                243.075,-27.92638889,4.59,
                238.4,-25.32722222,4.59,
                313.0291667,27.09694444,4.59,
                83.84583333,-4.838333333,4.59,
                287.0833333,-40.49666667,4.59,
                55.70833333,-37.31361111,4.59,
                10.32916667,-46.085,4.59,
                148.025,54.06444444,4.59,
                290.1666667,65.71472222,4.59,
                81.70833333,3.095555556,4.59,
                263.9125,-46.50555556,4.59,
                337.2041667,-0.020277778,4.59,
                294.175,-24.88361111,4.6,
                97.20416667,-7.032777778,4.6,
                168.15,-60.3175,4.6,
                198.0708333,-59.92083333,4.6,
                224.3958333,65.9325,4.6,
                231.3333333,-38.73361111,4.6,
                164.1791667,-37.13777778,4.6,
                221.3083333,16.96444444,4.6,
                130.05,64.32777778,4.6,
                350.1583333,23.74027778,4.6,
                142.2833333,-2.768888889,4.6,
                151.2791667,-13.06472222,4.6,
                1.333333333,-5.7075,4.61,
                308.475,35.25083333,4.61,
                64.55833333,50.29555556,4.61,
                119.9666667,-18.39916667,4.61,
                166.6333333,-62.42416667,4.61,
                4.270833333,38.68166667,4.61,
                290.4291667,-15.955,4.61,
                233.5416667,-10.06444444,4.62,
                238.1666667,42.45166667,4.62,
                114.7041667,-26.80361111,4.62,
                130.9166667,-7.233611111,4.62,
                138.9375,-37.41333333,4.62,
                173.6875,-54.26416667,4.62,
                193.6625,-59.14666667,4.62,
                264.4583333,-8.118888889,4.62,
                284.0541667,4.203611111,4.62,
                82.97916667,-7.301388889,4.62,
                28.3875,3.1875,4.62,
                270.1208333,-3.690277778,4.62,
                168.8,23.09555556,4.63,
                339.3416667,51.54527778,4.63,
                166.2541667,7.336111111,4.63,
                90.97916667,20.13833333,4.63,
                237.3958333,26.06833333,4.63,
                44.8,21.34027778,4.63,
                44.8,21.34027778,4.63,
                57.5875,71.33222222,4.63,
                118.2625,-49.61305556,4.63,
                240.8791667,-57.77527778,4.63,
                47.82083333,39.61166667,4.63,
                246.95,-8.371666667,4.63,
                14.1625,59.18111111,4.63,
                237.7416667,-25.75138889,4.64,
                300.275,27.75361111,4.64,
                111.675,49.21138889,4.64,
                270.0625,4.368611111,4.64,
                271.825,8.733888889,4.64,
                109.1458333,-27.88111111,4.64,
                113.8416667,-28.36944444,4.64,
                189.9666667,-39.9875,4.64,
                235.2958333,-44.66111111,4.64,
                75.77083333,21.59,4.64,
                277.8416667,-62.27833333,4.64,
                278.375,-42.3125,4.64,
                207.8541667,64.72333333,4.65,
                252.4583333,-10.78305556,4.65,
                346.0458333,50.05222222,4.65,
                103.6583333,13.17777778,4.65,
                259.4166667,37.29166667,4.65,
                240.8,-49.22972222,4.65,
                88.525,-63.09,4.65,
                112.675,-30.96222222,4.65,
                191.5916667,-56.48888889,4.65,
                206.6625,-51.43277778,4.65,
                274.5125,-27.0425,4.65,
                18.43333333,24.58361111,4.65,
                73.72083333,10.15083333,4.65,
                68.45833333,14.84444444,4.65,
                58.425,-24.6125,4.65,
                100.2416667,9.895555556,4.66,
                108.5625,-26.3525,4.66,
                40.8625,27.70722222,4.66,
                205.1833333,54.68166667,4.66,
                17.8625,21.03472222,4.66,
                189.8083333,-7.995555556,4.66,
                130.8208333,21.46861111,4.66,
                109.575,-36.73416667,4.66,
                156.85,-57.63888889,4.66,
                159.6875,-59.18305556,4.66,
                190.6458333,-48.81305556,4.66,
                291.6291667,0.338611111,4.66,
                282.8,59.38833333,4.66,
                336.3166667,1.3775,4.66,
                180.2166667,6.614166667,4.66,
                359.4375,25.14138889,4.66,
                59.97916667,-24.01638889,4.66,
                52.34166667,49.50888889,4.67,
                270.0125,16.75083333,4.67,
                27.39583333,-10.68638889,4.67,
                315.3208333,-32.25777778,4.67,
                325.5208333,51.18972222,4.67,
                234.9416667,-34.41194444,4.67,
                137.7291667,63.51361111,4.67,
                91.5375,-14.93527778,4.67,
                76.14166667,15.40416667,4.68,
                120.3041667,-1.3925,4.68,
                245.0833333,-78.69583333,4.68,
                324.2666667,-19.46611111,4.68,
                144.6125,4.649166667,4.68,
                103.9041667,-20.13638889,4.68,
                293.0875,69.66111111,4.68,
                308.825,14.67416667,4.68,
                275.9125,-8.934166667,4.68,
                340.8958333,-18.83027778,4.69,
                202.9875,-6.255833333,4.69,
                347.475,-22.4575,4.69,
                330.8375,-56.78611111,4.69,
                28.73333333,-67.64722222,4.69,
                317.5833333,10.13166667,4.69,
                271.2541667,-29.58,4.69,
                134.0791667,-52.72361111,4.69,
                141.825,-22.34388889,4.69,
                191.4041667,-60.98111111,4.69,
                140.8,-28.83388889,4.69,
                31.12083333,-29.29694444,4.69,
                330.825,-2.155277778,4.69,
                294.8416667,30.15333333,4.69,
                66.65,14.71361111,4.69,
                69.81666667,15.91805556,4.69,
                324.4375,-7.854166667,4.69,
                203.6125,49.01611111,4.7,
                277.2958333,-14.56583333,4.7,
                114.575,-25.36472222,4.7,
                44.925,8.9075,4.7,
                298.9583333,-26.29944444,4.7,
                175.05,-34.74472222,4.7,
                150.05,8.044166667,4.7,
                44.6875,39.66277778,4.7,
                174.1666667,-9.802222222,4.7,
                353.3166667,-20.91444444,4.71,
                82.43333333,-1.092222222,4.71,
                159.6791667,31.97611111,4.71,
                63.72083333,40.48361111,4.71,
                36.40416667,50.27861111,4.71,
                23.47916667,59.23194444,4.71,
                319.4833333,-32.1725,4.71,
                80.10833333,-21.23944444,4.71,
                117.0833333,-47.07777778,4.71,
                136.4083333,-70.53888889,4.71,
                196.5666667,-48.46361111,4.71,
                209.4083333,-63.68666667,4.71,
                343.6,84.34611111,4.71,
                353.7666667,-42.615,4.71,
                79.78333333,40.09916667,4.71,
                163.4916667,43.19,4.71,
                298.5583333,8.461388889,4.71,
                122.8166667,-12.92694444,4.72,
                241.6208333,-45.17333333,4.72,
                280.5666667,-9.0525,4.72,
                52.34166667,-62.9375,4.72,
                177.0583333,-66.81472222,4.72,
                226.2791667,-47.05111111,4.72,
                140.3708333,-25.96555556,4.72,
                181.0791667,-63.16555556,4.72,
                76.375,-57.47277778,4.72,
                52.65416667,-5.075277778,4.73,
                199.3833333,40.5725,4.73,
                80.4375,-0.3825,4.73,
                208.3,-31.92777778,4.73,
                259.15,-0.445277778,4.73,
                324.4791667,62.08194444,4.73,
                57.14583333,-37.62055556,4.73,
                325.6625,-18.86638889,4.73,
                7.941666667,54.52222222,4.73,
                313.1625,-8.983333333,4.73,
                326.0333333,28.74277778,4.73,
                176.1875,-18.35083333,4.73,
                253.4958333,-42.36222222,4.73,
                185.1791667,17.79277778,4.74,
                156.475,33.79611111,4.74,
                314.9541667,47.52111111,4.74,
                165.4541667,-2.484722222,4.74,
                199.6,-18.31138889,4.74,
                292.9416667,34.45305556,4.74,
                157.5833333,-71.99305556,4.74,
                207.9458333,34.44416667,4.74,
                341.8708333,83.15388889,4.74,
                354.4625,-45.4925,4.74,
                235.4833333,-19.67888889,4.74,
                73.13333333,14.25055556,4.74,
                21.48333333,68.13,4.74,
                87.75833333,37.30555556,4.74,
                28.37916667,19.29361111,4.75,
                122.8541667,-42.98722222,4.75,
                158.3041667,40.42555556,4.75,
                212.475,-53.43916667,4.75,
                39.95,-42.89166667,4.75,
                214.0375,51.36722222,4.75,
                42.61666667,-75.06694444,4.75,
                349.6541667,68.11166667,4.75,
                235.6708333,-34.71055556,4.75,
                38.02083333,-15.24472222,4.75,
                42.75833333,-21.00416667,4.75,
                285.775,-42.09527778,4.75,
                269.9458333,-23.81611111,4.76,
                225.9458333,47.65444444,4.76,
                346.775,25.46833333,4.76,
                201.8625,-15.97361111,4.76,
                83.17916667,32.19194444,4.76,
                108.6583333,-48.27166667,4.76,
                122.25,-61.3025,4.76,
                46.38333333,56.70583333,4.76,
                305.1625,-12.75916667,4.76,
                11.04583333,-10.60944444,4.76,
                308.8916667,-60.58166667,4.76,
                237.8125,20.97777778,4.76,
                135.6333333,67.62972222,4.76,
                242.2416667,36.49083333,4.76,
                240.6958333,46.03666667,4.76,
                19.86666667,27.26416667,4.76,
                289.0541667,21.39027778,4.77,
                101.8291667,8.037222222,4.77,
                13.25,-1.144166667,4.77,
                278.1416667,57.04555556,4.77,
                215.7708333,-27.75388889,4.77,
                172.575,-3.003611111,4.77,
                130.3041667,-47.31694444,4.77,
                145.3208333,-23.59166667,4.77,
                215.175,-45.18722222,4.77,
                300.8875,-37.94083333,4.77,
                265.0958333,-49.41555556,4.77,
                7.854166667,-48.80361111,4.77,
                241.0916667,-11.37305556,4.77,
                73.15833333,36.70305556,4.78,
                194.7291667,17.40944444,4.78,
                169.7791667,38.18555556,4.78,
                88.10833333,1.855,4.78,
                313.3083333,44.38722222,4.78,
                67.6375,16.19388889,4.78,
                83.75833333,-6.001944444,4.78,
                123.3708333,-35.89972222,4.78,
                244.5708333,-28.61388889,4.78,
                303.8125,25.59194444,4.78,
                307.2125,-17.81361111,4.78,
                0.395833333,-77.06583333,4.78,
                260.4958333,-67.77055556,4.78,
                247.55,-25.115,4.79,
                332.45,72.34111111,4.79,
                139.9416667,-11.975,4.79,
                58.57083333,-2.954722222,4.79,
                336.9625,4.695555556,4.79,
                154.9333333,19.47083333,4.79,
                74.97916667,-12.5375,4.79,
                109.15,-23.31555556,4.79,
                119.4166667,-30.33472222,4.79,
                281.3583333,-64.87138889,4.79,
                29.47916667,23.59611111,4.79,
                333.9,-41.34666667,4.79,
                340.4375,29.3075,4.79,
                193.5875,-9.538888889,4.79,
                99.82916667,42.48888889,4.79,
                146.05,-27.76944444,4.79,
                140.1208333,-9.555833333,4.8,
                196.7916667,27.62472222,4.8,
                84.72083333,-7.213055556,4.8,
                186.0041667,51.56222222,4.8,
                3.65,20.20666667,4.8,
                66.02083333,17.44388889,4.8,
                198.8083333,-67.89444444,4.8,
                56.50833333,63.345,4.8,
                94.70833333,69.31972222,4.8,
                359.6,51.38861111,4.8,
                264.2375,68.75805556,4.8,
                199.4,5.469722222,4.8,
                137.5958333,67.13472222,4.8,
                10.5125,50.5125,4.8,
                48.95833333,-8.819722222,4.8,
                185.625,25.84611111,4.81,
                276.3375,-20.54166667,4.81,
                188.7125,22.62916667,4.81,
                335.3291667,28.33055556,4.81,
                220.8541667,26.52777778,4.81,
                304.4458333,38.03305556,4.81,
                262.8541667,-23.96277778,4.81,
                92.57083333,-54.96861111,4.81,
                6.979166667,-33.00722222,4.81,
                140.2333333,-62.40472222,4.81,
                143.7625,39.62138889,4.81,
                214.4958333,35.50944444,4.81,
                267.5458333,-40.09055556,4.81,
                338.25,-61.98222222,4.81,
                225.525,25.00805556,4.81,
                217.05,-2.228055556,4.81,
                75.35833333,-7.173888889,4.81,
                355.4375,-17.81638889,4.82,
                77.425,15.59722222,4.82,
                204.3625,36.295,4.82,
                309.6291667,21.20111111,4.82,
                255.2625,-4.2225,4.82,
                89.49583333,25.95388889,4.82,
                212.2083333,77.5475,4.82,
                276.4958333,65.56361111,4.82,
                252.3083333,45.98333333,4.82,
                32.12083333,37.85916667,4.82,
                259.3291667,33.1,4.82,
                13.26666667,61.12416667,4.82,
                99.81666667,-14.14583333,4.82,
                120.0833333,-63.5675,4.82,
                125.6291667,-48.49027778,4.82,
                159.3875,-13.38444444,4.82,
                160.5583333,-64.46638889,4.82,
                161.025,-63.96111111,4.82,
                186.6291667,-51.45083333,4.82,
                228.2041667,-44.50055556,4.82,
                49.67916667,34.22277778,4.82,
                237.8041667,35.6575,4.82,
                226.2791667,-47.05111111,4.82,
                337.6583333,-10.67805556,4.82,
                245.5166667,1.029166667,4.82,
                320.1875,-40.80972222,4.82,
                283.5958333,71.29722222,4.82,
                212.5958333,25.09166667,4.83,
                103.3833333,-20.22416667,4.83,
                250.2291667,64.58916667,4.83,
                139.0458333,54.02194444,4.83,
                303.325,46.81583333,4.83,
                33.30416667,44.23166667,4.83,
                299.7375,-26.19555556,4.83,
                171.15,-10.85944444,4.83,
                284.2625,-5.846111111,4.83,
                28.37916667,19.29583333,4.83,
                107.2125,-39.65583333,4.83,
                125.3458333,-33.05444444,4.83,
                155.5791667,-41.65,4.83,
                29.29166667,-47.385,4.83,
                267.2916667,-31.70333333,4.83,
                281.5166667,26.66222222,4.83,
                49.8375,3.370277778,4.83,
                283.5416667,-22.745,4.83,
                21.9125,45.40666667,4.83,
                79.37083333,-34.89527778,4.83,
                240.5708333,22.80444444,4.83,
                78.4375,-67.18527778,4.83,
                13.75,58.97277778,4.83,
                220.2833333,13.72833333,4.83,
                122.1125,51.50666667,4.84,
                248.15,11.48805556,4.84,
                157.6541667,55.98055556,4.84,
                63.48333333,9.263611111,4.84,
                312.2333333,46.11416667,4.84,
                165.1375,3.6175,4.84,
                39.8875,-11.87222222,4.84,
                316.1,-19.855,4.84,
                30.975,42.33083333,4.84,
                114.8625,-38.30833333,4.84,
                158.7708333,75.71305556,4.84,
                49.99583333,65.65222222,4.84,
                22.54583333,6.143888889,4.84,
                331.4166667,5.058611111,4.84,
                41.38333333,-67.61666667,4.84,
                346.65,59.41972222,4.85,
                65.3875,46.49888889,4.85,
                29.16666667,-22.52694444,4.85,
                349.4333333,49.01527778,4.85,
                341.4041667,-53.50027778,4.85,
                112.4625,-23.02444444,4.85,
                161.7125,-64.38333333,4.85,
                198.0125,-37.80305556,4.85,
                251.3208333,56.78194444,4.85,
                288.8833333,-25.25666667,4.85,
                340.875,-41.41444444,4.85,
                245.5208333,30.89194444,4.85,
                176.3208333,8.258333333,4.85,
                195.8875,-49.52722222,4.85,
                214.9375,16.30694444,4.86,
                85.32083333,16.53388889,4.86,
                359.6666667,-3.556111111,4.86,
                220.4083333,8.161666667,4.86,
                87.25416667,24.5675,4.86,
                296.5875,-19.76111111,4.86,
                275.2166667,3.377222222,4.86,
                229.4083333,-63.61055556,4.86,
                128.8291667,-58.00916667,4.86,
                130.6041667,-53.11388889,4.86,
                152.2333333,-51.81111111,4.86,
                186.625,-63.1225,4.86,
                269.1958333,-44.34222222,4.86,
                18.94166667,-68.87611111,4.86,
                78.35416667,38.48444444,4.86,
                38.96666667,5.593333333,4.86,
                101.5583333,59.44166667,4.87,
                63.59583333,-10.25638889,4.87,
                265.8541667,-21.68333333,4.87,
                34.2625,34.22416667,4.87,
                284.6791667,-37.1075,4.87,
                199.3041667,-66.78361111,4.87,
                256.2041667,-34.12277778,4.87,
                281.0791667,-35.64194444,4.87,
                47.98333333,74.39361111,4.87,
                88.275,-33.80138889,4.87,
                284.6125,-52.93861111,4.87,
                263.0666667,55.17305556,4.87,
                356.7625,58.65194444,4.87,
                169.5416667,31.52916667,4.87,
                339.8125,39.05027778,4.88,
                81.90833333,21.93694444,4.88,
                49.59166667,-22.51138889,4.88,
                239.5458333,-14.27944444,4.88,
                116.5291667,18.51,4.88,
                130.4291667,-15.94333333,4.88,
                72.475,37.48833333,4.88,
                148.55,-25.9325,4.88,
                269.4458333,-41.71611111,4.88,
                263.0416667,55.18416667,4.88,
                309.3958333,-61.53,4.88,
                190.4708333,10.23555556,4.88,
                359.75,55.755,4.88,
                20.58333333,45.52888889,4.88,
                296.0666667,37.35444444,4.89,
                254.0041667,65.13472222,4.89,
                2.8125,-15.46805556,4.89,
                309.1791667,-2.55,4.89,
                133.8791667,-27.68194444,4.89,
                108.3041667,-45.18305556,4.89,
                157.8375,-53.71555556,4.89,
                159.3041667,-27.4125,4.89,
                240.85,-38.6025,4.89,
                12.20833333,50.96833333,4.89,
                36.4875,-12.29055556,4.89,
                48.725,21.04444444,4.89,
                312.3708333,-46.22694444,4.89,
                129.925,-29.56111111,4.89,
                104.4041667,45.09416667,4.9,
                193.3208333,21.245,4.9,
                195.0666667,30.785,4.9,
                249.6833333,48.92833333,4.9,
                21.40416667,-14.59888889,4.9,
                107.9125,39.32055556,4.9,
                323.6916667,38.53416667,4.9,
                312.4916667,-33.77972222,4.9,
                280.8791667,-8.275277778,4.9,
                94.99583333,-2.944444444,4.9,
                177.9625,-65.20611111,4.9,
                293.8041667,-48.09916667,4.9,
                38.45833333,-28.2325,4.9,
                114.7875,34.58416667,4.9,
                343.8041667,8.815833333,4.9,
                228.6541667,-31.51916667,4.91,
                40.55833333,40.19388889,4.91,
                311.2166667,25.27055556,4.91,
                87.38333333,12.65111111,4.91,
                67.96666667,-0.043888889,4.91,
                85.61666667,1.474722222,4.91,
                207.425,21.26416667,4.91,
                256.3416667,12.74083333,4.91,
                307.4125,-2.885555556,4.91,
                179.9041667,-78.22194444,4.91,
                214.5541667,-81.00777778,4.91,
                75.35416667,-20.05194444,4.91,
                176.6291667,-40.50055556,4.91,
                192.6708333,-33.99944444,4.91,
                212.7083333,-16.30194444,4.91,
                329.1625,63.62555556,4.91,
                352.5083333,58.54888889,4.91,
                159.6458333,-16.87666667,4.91,
                96.22083333,49.28805556,4.91,
                247.1166667,-70.08444444,4.91,
                107.5541667,-4.237222222,4.92,
                241.3583333,-19.80194444,4.92,
                225.2416667,-8.518888889,4.92,
                134.2416667,-59.22944444,4.92,
                198.5583333,-59.10333333,4.92,
                198.4291667,40.15277778,4.92,
                215.6541667,-58.45944444,4.92,
                221.2458333,-35.19194444,4.92,
                283.3041667,50.70833333,4.92,
                311.7916667,34.37416667,4.92,
                298.9041667,52.43888889,4.92,
                332.5333333,-32.54833333,4.92,
                91.24583333,-16.48444444,4.93,
                44.7625,35.18305556,4.93,
                119.9333333,-3.679722222,4.93,
                302.3541667,36.83972222,4.93,
                226.825,24.86916667,4.93,
                65.1,34.56666667,4.93,
                355.9958333,29.36166667,4.93,
                195.1791667,56.36638889,4.93,
                62.70833333,-41.99361111,4.93,
                286.6041667,-37.06333333,4.93,
                99.65416667,-48.22027778,4.93,
                105.9708333,-49.58388889,4.93,
                132.4458333,-45.30805556,4.93,
                157.7583333,-73.22166667,4.93,
                190.4833333,-59.68583333,4.93,
                285,32.14555556,4.93,
                79.81666667,22.09638889,4.94,
                222.7541667,-2.299166667,4.94,
                343.0083333,43.3125,4.94,
                298.9625,38.48666667,4.94,
                1.125,-10.50944444,4.94,
                192.9208333,27.54055556,4.94,
                221.5,-25.44305556,4.94,
                188.6833333,70.02194444,4.94,
                33.09166667,30.30305556,4.94,
                203.5291667,3.658888889,4.94,
                120.8791667,27.79416667,4.94,
                166.3291667,-27.29361111,4.94,
                231.0458333,-10.32222222,4.94,
                113.9125,-52.53388889,4.94,
                115.0958333,-15.26361111,4.94,
                138.9,-38.57,4.94,
                145.5583333,-23.91555556,4.94,
                148.7166667,-19.00944444,4.94,
                175.2208333,-62.09,4.94,
                243.3666667,-54.63055556,4.94,
                351.7333333,1.255555556,4.94,
                248.5208333,-44.04527778,4.94,
                74.8125,37.89027778,4.94,
                64.3125,20.57861111,4.94,
                10.86666667,47.02472222,4.94,
                220.1791667,16.41833333,4.94,
                243,-10.06416667,4.94,
                25.14166667,40.57694444,4.94,
                301.8458333,-52.88083333,4.94,
                275.0708333,21.96138889,4.95,
                297.7666667,22.61,4.95,
                186.6,27.26833333,4.95,
                90.45833333,-10.59805556,4.95,
                50.35833333,43.32944444,4.95,
                187.525,69.20111111,4.95,
                93.0125,16.13055556,4.95,
                184.0833333,23.94527778,4.95,
                244.375,75.75527778,4.95,
                85.20833333,-1.128888889,4.95,
                104.0666667,-48.72111111,4.95,
                25.44583333,42.61361111,4.95,
                239.4458333,54.74972222,4.95,
                344.1083333,49.73361111,4.95,
                294.2208333,-7.0275,4.95,
                307.5125,48.95166667,4.95,
                65.0875,27.35083333,4.95,
                356.5083333,46.42027778,4.95,
                197.2625,-23.11805556,4.95,
                81.18333333,1.846388889,4.95,
                303.5666667,15.1975,4.95,
                171.9833333,2.856111111,4.95,
                185.0875,3.3125,4.96,
                235.0666667,-23.81805556,4.96,
                289.4083333,-18.95305556,4.96,
                270.375,21.59555556,4.96,
                277.9375,-45.915,4.96,
                112.7666667,82.41138889,4.96,
                110.5541667,-19.01666667,4.96,
                250.3916667,-17.74222222,4.96,
                298.9791667,58.84611111,4.96,
                18.79583333,-45.53138889,4.96,
                232.85,77.34944444,4.96,
                272.975,31.40527778,4.97,
                291.0291667,29.62138889,4.97,
                303.6333333,36.80638889,4.97,
                55.59166667,33.965,4.97,
                217.0416667,-29.49166667,4.97,
                67.10833333,16.35972222,4.97,
                207.4666667,-18.13416667,4.97,
                113.4458333,-14.52388889,4.97,
                156.0291667,65.56638889,4.97,
                177.4833333,-70.22583333,4.97,
                202.425,-23.28138889,4.97,
                60.325,-61.07888889,4.97,
                136.4916667,5.092222222,4.97,
                118.3708333,26.76583333,4.97,
                88.87083333,-37.12083333,4.97,
                142.9833333,11.29972222,4.97,
                94.475,61.51527778,4.98,
                272.9291667,-23.70111111,4.98,
                32.35416667,25.93972222,4.98,
                109.6666667,-24.55888889,4.98,
                275.975,58.80055556,4.98,
                351.2083333,62.28277778,4.98,
                130.0041667,-12.47527778,4.98,
                202.1041667,13.77888889,4.98,
                353.4875,31.32527778,4.98,
                24.8375,44.38611111,4.98,
                52.0125,49.06277778,4.98,
                203.6958333,37.1825,4.98,
                255.7791667,14.09194444,4.98,
                20.01666667,58.23166667,4.98,
                349.7375,-9.610833333,4.98,
                284.0583333,4.201944444,4.98,
                81.10416667,17.38333333,4.99,
                296.6041667,33.72777778,4.99,
                105.725,-4.239166667,4.99,
                123.3333333,-15.78833333,4.99,
                115.75,58.71027778,4.99,
                288.4791667,57.705,4.99,
                170.7041667,43.48277778,4.99,
                165.1833333,6.101388889,4.99,
                44.69583333,-64.07138889,4.99,
                111.4083333,9.276111111,4.99,
                286.6041667,-37.06333333,4.99,
                244.25,-50.06833333,4.99,
                102.7166667,-34.36722222,4.99,
                127.3625,-44.725,4.99,
                155.7416667,-66.90166667,4.99,
                191.2791667,45.44027778,4.99,
                25.67916667,-3.690277778,4.99,
                239.875,-41.74444444,4.99,
                301.0791667,-32.05638889,4.99,
                240.3583333,29.85111111,4.99,
                283.7791667,-22.67138889,4.99,
                29,68.68527778,4.99,
                81.1625,37.38555556,4.99,
                332.1083333,-34.04388889,4.99,
                88.70833333,55.70694444,4.99,
                76.8625,18.645,5,
                144.3,6.835833333,5,
                246.9958333,68.76805556,5,
                186.7458333,26.82555556,5,
                80.70833333,3.544444444,5,
                108.3416667,16.15888889,5,
                319.6125,43.94583333,5,
                76.66666667,51.59777778,5,
                293.6416667,19.77333333,5,
                55.55833333,-31.93833333,5,
                359.3958333,-64.29833333,5,
                59.28333333,61.10888889,5,
                137.7666667,-44.86805556,5,
                160.7666667,69.07611111,5,
                170.8,-36.16472222,5,
                184.125,33.06138889,5,
                184.7458333,-55.14305556,5,
                240.8333333,-25.86527778,5,
                260.075,18.05722222,5,
                271.8666667,43.46166667,5,
                345.0208333,56.94527778,5,
                242.0166667,17.04694444,5,
                104.025,-14.04361111,5,
                230.5333333,-47.92777778,5,
                354.9458333,-14.22166667,5,
                297.2416667,19.14222222,5,

            };

            figures = new double[]
            {
                2.065,42.3167,0,
                1.16167,35.6167,1,
                0.655,30.85,1,
                0.139444,29.0833,1,
                1.16167,35.6167,0,
                0.945556,38.4833,1,
                0.83,41.0667,1,
                9.48722,-35.95,0,
                14.7972,-79.0333,0,
                16.3389,-78.6833,2,
                16.5572,-78.8833,2,
                16.7178,-77.5167,2,
                20.7944,-9.48333,0,
                21.5256,-5.56667,1,
                22.0961,-0.316667,1,
                22.3606,-1.38333,1,
                22.48,-0.0166667,1,
                22.5889,-0.116667,1,
                23.2383,-6.03333,1,
                22.8767,-7.56667,1,
                22.8261,-13.5833,1,
                22.9106,-15.8167,1,
                23.1572,-21.1667,1,
                22.48,-0.0166667,0,
                22.4212861,1.3774167,1,
                22.0961,-0.316667,0,
                22.2806,-7.78333,1,
                22.1072861,-12.1303056,1,
                20.1883,-0.816667,0,
                19.8461,8.86667,1,
                19.7706,10.6,1,
                19.09,13.85,1,
                18.9936111,15.0680556,1,
                19.8461,8.86667,0,
                19.4244,3.1,1,
                19.1039,-4.86667,1,
                17.5306,-49.8667,0,
                17.4217,-55.5167,1,
                17.4228,-56.3667,1,
                16.9767,-55.9833,1,
                16.9928,-53.15,1,
                17.5306,-49.8667,1,
                1.89167,19.2833,0,
                1.91056,20.8,1,
                2.11944,23.45,1,
                2.83278,27.25,1,
                5.27778,45.9833,0,
                5.99167,44.9333,1,
                5.995,37.2,1,
                5.43778,28.6,1,
                4.94944,33.15,1,
                5.04111,41.0667,1,
                5.1085806,41.2344722,1,
                5.03278,43.8167,1,
                5.27778,45.9833,1,
                14.2606,19.1667,0,
                14.7494,27.0667,1,
                15.2583,33.3,1,
                15.0322,40.3833,1,
                14.5344,38.3,1,
                14.53,30.3667,1,
                14.2606,19.1667,1,
                5.07333,-35.4833,0,
                4.90056,66.3333,0,
                8.77778,28.75,0,
                8.72111,21.4667,2,
                8.74444,18.15,2,
                8.97444,11.85,2,
                8.74444,18.15,0,
                8.275,9.18333,2,
                12.9333,38.3167,0,
                12.5622,41.35,2,
                6.37833,-17.95,0,
                6.75222,-16.7,1,
                7.05,-23.8333,1,
                7.13944,-26.3833,1,
                7.02833,-27.9333,1,
                6.97667,-28.9667,1,
                6.3385556,-29.9366667,1,
                7.40111,-29.3,0,
                7.13944,-26.3833,1,
                7.655,5.21667,0,
                7.45222,8.28333,1,
                20.2939,-12.5,0,
                20.35,-14.7667,1,
                20.481,-16.1863889,1,
                20.7678,-25.2667,1,
                20.8633,-26.9167,1,
                21.7839,-16.1167,0,
                21.6678,-16.65,1,
                21.4444,-22.4,1,
                21.3706,-16.8333,1,
                21.0989,-17.2167,1,
                20.35,-14.7667,1,
                6.39889,-52.6833,0,
                9.22,-69.7167,1,
                10.2289,-70.0333,1,
                10.7156,-64.3833,1,
                10.5333,-61.6833,1,
                9.28444,-59.2667,1,
                8.375,-59.5,1,
                7.9463083,-51.0176389,2,
                0.152778,59.1333,0,
                0.675,56.5333,1,
                0.945,60.7167,1,
                1.43,60.2333,1,
                1.90611,63.6667,1,
                14.6594,-60.8333,0,
                13.6644,-53.45,1,
                14.0633,-60.3667,1,
                14.1111,-36.3667,0,
                13.825,-41.6833,1,
                13.9256,-47.2833,1,
                13.6644,-53.45,1,
                12.6917,-48.95,1,
                13.3428,-36.7,1,
                13.825,-41.6833,1,
                21.3094,62.5833,0,
                21.4772,70.55,1,
                23.6556,77.6167,1,
                22.8278,66.2,1,
                22.1806,58.2,1,
                21.3094,62.5833,1,
                3.03778,4.08333,0,
                2.72167,3.23333,1,
                2.32222,-2.96667,1,
                1.14278,-10.1667,1,
                0.323333,-8.81667,1,
                0.726111,-17.9833,1,
                1.14278,-10.1667,1,
                8.30833,-76.9167,0,
                10.5911,-78.6,1,
                12.3057833,-78.6877778,1,
                10.7630556,-79.4598056,1,
                8.3440389,-76.5155278,1,
                8.30833,-76.9167,1,
                15.2917,-58.8,0,
                14.7083,-64.9667,1,
                15.3894,-59.3167,1,
                5.52,-35.4667,0,
                5.66056,-34.0667,1,
                5.84889,-35.7667,1,
                5.95889,-35.2833,1,
                6.2758722,-34.8594722,1,
                6.36833,-33.4333,1,
                5.98556,-42.8,0,
                5.84889,-35.7667,1,
                13.1661,17.5167,0,
                13.1978,27.8667,2,
                12.4489,28.2667,2,
                18.9786111,-36.8925,0,
                19.1067,-37.05,1,
                19.1578,-37.9,1,
                19.1667,-39.3333,1,
                19.1389,-40.4833,1,
                19.0519444,-41.9047222,1,
                15.5483,31.35,0,
                15.4633,29.1,1,
                15.5778,26.7,1,
                15.7122,26.2833,1,
                15.8261,26.0667,1,
                15.9594,26.8667,1,
                16.0239,29.85,2,
                12.1683,-22.6167,0,
                12.5728,-23.3833,1,
                12.4972,-16.5,1,
                12.2633,-17.5333,1,
                12.1683,-22.6167,1,
                11.6113639,-8.19775,0,
                11.4101639,-9.1406667,1,
                11.3222,-14.7667,1,
                11.4144,-17.6833,1,
                11.74605,-17.6493333,1,
                11.3222,-14.7667,0,
                10.9961,-18.2833,1,
                11.1939,-22.8167,1,
                11.4144,-17.6833,1,
                12.4428,-63.0833,0,
                12.5189,-57.1,1,
                12.795,-59.6833,0,
                12.2522,-58.7333,1,
                19.5117,27.95,0,
                19.9383,35.0833,1,
                20.37,40.25,1,
                20.69,45.2667,1,
                19.285,53.3667,0,
                19.495,51.7167,1,
                19.7494,45.1167,1,
                20.37,40.25,1,
                20.77,33.9667,1,
                21.2156,30.2167,1,
                20.5533,11.3,0,
                20.6256,14.5833,1,
                20.7239,15.0667,1,
                20.7772,16.1167,1,
                20.6606,15.9,1,
                20.6256,14.5833,1,
                4.26667,-51.4833,0,
                4.56611,-55.0333,1,
                5.09185,-56.5273056,1,
                5.56,-62.4833,1,
                5.7462167,-64.2644722,1,
                5.9016806,-62.9103611,0,
                5.56,-62.4833,1,
                10.5848556,75.7129444,0,
                11.5233,69.3167,2,
                12.5578,69.7833,2,
                14.0728,64.3667,2,
                15.415,58.95,2,
                16.0311,58.55,2,
                16.3994,61.5,2,
                17.1461,65.7,2,
                18.3506,72.7167,2,
                19.8028,70.2667,2,
                19.2089,67.65,2,
                17.8917,56.8667,2,
                17.5361,55.1833,2,
                17.5072,52.3,2,
                17.9433,51.4833,2,
                17.8917,56.8667,2,
                21.1722,10.1167,0,
                21.2633,5.23333,2,
                21.3815556,6.8111111,2,
                21.2411,10,2,
                21.1722,10.1167,2,
                5.1524389,-7.2459167,0,
                5.13056,-5.08333,1,
                4.881575,-4.5473056,1,
                4.75833,-3.25,1,
                4.605,-3.35,1,
                4.19722,-6.83333,1,
                3.96667,-13.5,1,
                3.72056,-9.75,1,
                3.54833,-9.45,1,
                2.94,-8.88333,1,
                2.735,-13.85,1,
                2.75167,-18.5667,1,
                3.03944,-23.6167,1,
                3.325,-21.75,1,
                3.56278,-21.6167,1,
                3.78056,-23.2333,1,
                4.59222,-30.55,1,
                4.40056,-34.0167,1,
                4.29778,-33.7833,1,
                3.8098333,-36.3777778,1,
                2.97111,-40.3,1,
                2.67778,-39.85,1,
                2.44944,-47.7,1,
                2.275,-51.5,1,
                1.93222,-51.6,1,
                1.62833,-57.2333,1,
                3.20111,-28.9833,0,
                2.81778,-32.4,1,
                2.07444,-29.2833,2,
                6.75444,12.8833,0,
                6.62833,16.3833,1,
                6.48222,20.2,1,
                6.38222,22.5,1,
                6.73167,25.1167,1,
                7.18556,30.2333,1,
                7.485,31.7833,1,
                7.57667,31.8833,1,
                7.755,28.0167,1,
                7.74056,24.3833,1,
                7.335,21.9667,1,
                7.06833,20.5667,1,
                6.62833,16.3833,1,
                21.8983,-37.35,0,
                22.4878,-43.4833,1,
                22.7111,-46.8833,1,
                22.8089,-51.3167,1,
                23.0144,-52.75,1,
                23.1146472,-42.4796389,0,
                23.17265,-44.7532778,1,
                22.7111,-46.8833,1,
                22.1372,-46.95,1,
                16.3289,46.3,0,
                16.5683,42.4333,1,
                16.7144,38.9167,1,
                16.6878,31.6,1,
                16.5033,21.4833,1,
                16.6878,31.6,0,
                17.0044,30.9167,1,
                17.25,24.8333,1,
                17.5122,26.1,1,
                17.7739,27.7167,1,
                17.2439,14.3833,0,
                17.25,24.8333,1,
                16.7144,38.9167,0,
                17.2506,36.8,1,
                17.3947222,37.1458333,1,
                17.9372,37.25,1,
                17.0044,30.9167,0,
                17.2506,36.8,1,
                4.23333,-42.2833,0,
                14.1061,-26.6667,0,
                13.315,-23.1667,1,
                11.8817,-33.9,1,
                11.55,-31.85,1,
                11.1939,-22.8167,1,
                10.9961,-18.2833,1,
                10.8267,-16.1833,1,
                10.4344,-16.8333,1,
                10.1761,-12.35,1,
                9.85778,-14.8333,1,
                9.45944,-8.65,1,
                9.66389,-1.13333,1,
                9.23889,2.3,1,
                8.92278,5.93333,1,
                8.77944,6.41667,1,
                8.62722,5.7,1,
                8.64556,3.33333,1,
                8.72,3.38333,1,
                8.92278,5.93333,1,
                1.97944,-61.5667,0,
                1.9155917,-66.3526944,1,
                2.3624833,-67.3405833,1,
                2.6598222,-67.7330556,1,
                0.428889,-77.25,1,
                3.78722,-74.2333,1,
                21.9652972,-53.0074167,0,
                21.3311083,-52.5505833,1,
                20.6261,-47.2833,1,
                20.9133,-58.45,0,
                21.3311083,-52.5505833,1,
                22.2661611,37.74875,0,
                22.2313056,39.715,2,
                22.5081278,43.1233889,2,
                22.6752389,44.2763056,2,
                22.35,46.5333,0,
                22.5081278,43.1233889,2,
                22.4917,47.7,2,
                22.5211,50.2667,2,
                22.3922,52.2167,2,
                22.4083,49.4667,2,
                22.4917,47.7,2,
                10.1394,11.9667,0,
                10.1222,16.75,1,
                10.3328,19.8333,1,
                11.235,20.5167,1,
                11.8172,14.5667,1,
                11.2372,15.4167,1,
                10.1394,11.9667,1,
                9.87889,26,0,
                9.41056,26.1667,1,
                9.52833,22.9667,1,
                9.76389,23.7667,1,
                9.87889,26,1,
                10.2778,23.4167,1,
                10.3328,19.8333,1,
                11.3987361,10.5295,0,
                11.2372,15.4167,1,
                10.5468528,9.3065833,0,
                10.1394,11.9667,1,
                9.6858417,9.8923056,1,
                10.1238222,35.2446944,0,
                10.4644,36.7,2,
                10.8883,34.2,2,
                5.94,-14.1667,0,
                5.78222,-14.8167,1,
                5.545,-17.8167,1,
                5.215,-16.2,1,
                5.09056,-22.3667,1,
                5.855,-20.8667,0,
                5.74056,-22.4333,1,
                5.47056,-20.75,1,
                5.09056,-22.3667,1,
                5.545,-17.8167,0,
                5.47056,-20.75,1,
                15.6167,-28.1333,0,
                15.0678,-25.2667,2,
                14.8478,-16.0333,1,
                15.2833,-9.36667,1,
                15.5917,-14.7833,2,
                15.8970944,-15.2706944,2,
                15.2833,-9.36667,0,
                15.0678,-25.2667,1,
                14.6983,-47.3833,0,
                14.975,-43.1333,1,
                15.3561,-40.6333,1,
                15.3633,-36.25,1,
                15.2044,-52.0833,0,
                15.1988889,-47.2622222,1,
                15.3778,-44.6833,1,
                15.5856,-41.1667,1,
                16.0017,-38.3833,1,
                15.5856,-41.1667,0,
                15.3561,-40.6333,1,
                9.35056,34.3833,0,
                9.31389,36.8,2,
                9.01056,41.7667,2,
                8.38056,43.1833,2,
                7.4452361,49.2115278,2,
                6.9545833,58.4225,2,
                6.7705917,59.4416667,2,
                18.6156,38.7833,0,
                18.7461,37.6,1,
                18.8344,33.35,1,
                18.9822,32.6833,1,
                18.9083,36.8833,1,
                18.7461,37.6,1,
                18.92225,43.9460833,0,
                18.7396944,39.6130556,1,
                18.6156,38.7833,1,
                18.3310306,36.0645556,1,
                6.17056,-74.75,0,
                21.3456,-40.8,0,
                8.1432361,-1.0162222,0,
                7.68722,-9.55,2,
                7.19722,-0.483333,2,
                6.48,-7.03333,2,
                6.24722,-6.26667,2,
                6.3961361,4.5928611,2,
                6.5483972,7.3329722,2,
                11.76,-66.7167,0,
                12.2928,-67.95,1,
                12.6194,-69.1333,1,
                13.0378,-71.5333,1,
                12.7711,-68.1,0,
                12.6194,-69.1333,1,
                12.5411,-72.1167,1,
                16.4528,-47.55,0,
                16.3306,-50.15,1,
                16.0535833,-48.7703056,1,
                21.6911,-77.3833,0,
                22.7672,-81.3667,1,
                14.4483,-83.6667,1,
                21.6911,-77.3833,1,
                17.1728,-15.7167,0,
                16.6189,-10.5667,1,
                16.305,-4.68333,1,
                16.2389,-3.68333,1,
                16.515,1.98333,1,
                16.9611,9.36667,1,
                17.5822,12.55,1,
                17.7244,4.56667,1,
                17.7978,2.7,1,
                17.1728,-15.7167,1,
                5.91944,7.4,0,
                5.67889,-1.93333,1,
                5.79556,-9.66667,1,
                5.24222,-8.2,1,
                5.40778,-2.38333,1,
                5.53333,-0.283333,1,
                5.41833,6.33333,1,
                5.58556,9.93333,1,
                5.91944,7.4,1,
                5.53333,-0.283333,0,
                5.60333,-1.2,1,
                5.67889,-1.93333,1,
                20.4272,-56.7333,0,
                20.7492944,-65.7969722,1,
                20.0094,-72.9,1,
                18.7172,-71.4167,1,
                17.7617,-64.7167,1,
                18.1430028,-62.3314444,1,
                18.3871167,-60.5061111,1,
                18.87,-62.1833,1,
                20.145,-66.1667,1,
                20.7492944,-65.7969722,1,
                21.440725,-64.6338056,1,
                21.7361,9.86667,0,
                23.0789,15.2,1,
                0.220556,15.1833,1,
                0.139444,29.0833,1,
                23.0628,28.0667,1,
                23.0789,15.2,1,
                22.7167,30.2167,0,
                23.0628,28.0667,1,
                3.07944,53.5,0,
                3.405,49.85,1,
                3.715,47.7833,1,
                3.96389,40,1,
                3.90167,31.8833,1,
                3.405,49.85,0,
                3.15778,44.85,1,
                3.13611,40.95,1,
                3.08611,38.8333,1,
                0.437778,-42.3,0,
                1.47222,-43.3167,1,
                1.52056,-49.0667,1,
                1.10111,-46.7167,1,
                0.437778,-42.3,1,
                6.80278,-61.9333,0,
                5.83,-56.1667,2,
                5.78778,-51.05,2,
                1.1852139,31.4247222,0,
                1.19389,30.0833,2,
                1.32444,27.25,1,
                1.2291556,24.5835833,1,
                1.19056,21.0333,1,
                1.52444,15.3333,1,
                1.75611,9.15,1,
                2.03389,2.75,1,
                1.89222,3.18333,1,
                1.69,5.48333,1,
                1.50278,6.13333,1,
                1.04889,7.88333,1,
                0.811111,7.58333,1,
                23.9883,6.85,1,
                23.6656,5.61667,1,
                23.4661,6.36667,1,
                23.2856,3.26667,1,
                23.4489,1.25,1,
                23.7006,1.76667,1,
                23.6656,5.61667,1,
                23.2856,3.26667,0,
                23.04795,3.8200278,2,
                22.6772,-27.0333,0,
                22.9606,-29.6167,1,
                22.9322,-32.5333,1,
                22.875,-32.8667,1,
                22.525,-32.3333,1,
                22.139725,-31.0115278,1,
                21.7491139,-32.9742222,1,
                21.7956111,-29.1016667,1,
                22.2385417,-26.2330833,1,
                22.6772,-27.0333,1,
                8.12556,-24.3,0,
                7.9476361,-20.12,1,
                7.82111,-24.85,1,
                7.64667,-26.8,1,
                7.28556,-37.0833,1,
                6.62889,-43.1833,1,
                6.8322833,-49.3851667,1,
                7.4871806,-42.6988889,1,
                8.05944,-40,1,
                7.28556,-37.0833,1,
                8.84167,-27.7,0,
                8.72611,-33.1833,1,
                8.66833,-35.3,1,
                4.24,-62.4667,0,
                3.73667,-64.8,1,
                3.97889,-61.4,1,
                4.27444,-59.3,1,
                4.24,-62.4667,1,
                19.6678,18,0,
                19.7894,18.5333,1,
                19.9789,19.4833,1,
                19.7894,18.5333,0,
                19.6839,17.4667,1,
                18.4028,-34.3833,0,
                18.0967,-30.4167,1,
                18.3494,-29.8167,1,
                18.4028,-34.3833,1,
                19.0433,-29.8667,1,
                19.1156,-27.6667,1,
                18.9206,-26.2833,1,
                18.7606,-26.9833,1,
                19.0433,-29.8667,1,
                18.4661,-25.4167,0,
                18.7606,-26.9833,1,
                18.3494,-29.8167,0,
                18.4661,-25.4167,1,
                18.9206,-26.2833,0,
                19.0778,-21.7333,1,
                19.1622,-21.0167,1,
                19.1622,-21.0167,2,
                18.9617,-21.1,2,
                19.0778,-21.7333,2,
                17.7928,-40.1167,0,
                17.8308333,-36.9569444,1,
                17.56,-37.1,1,
                17.5127778,-36.7041667,1,
                17.7078,-39.0167,1,
                17.7928,-40.1167,1,
                17.6217,-42.9833,1,
                17.2022,-43.2333,1,
                16.9094,-42.35,1,
                16.8644,-38.0333,1,
                16.8356,-34.2833,1,
                16.5978,-28.2,1,
                16.49,-26.4167,1,
                16.3528,-25.5833,1,
                16.0906,-19.8,1,
                16.1994,-19.4333,0,
                16.0906,-19.8,1,
                16.0056,-22.6167,1,
                15.9806,-26.1,1,
                0.976667,-29.35,0,
                18.4861,-14.55,0,
                18.5867,-8.23333,2,
                18.7861,-4.73333,1,
                18.3943278,-7.0656111,0,
                18.5867,-8.23333,2,
                15.7694,15.4167,0,
                15.8122,18.1333,2,
                15.9406,15.65,2,
                15.7694,15.4167,2,
                15.58,10.5333,2,
                15.7378,6.41667,2,
                15.8467,4.46667,2,
                16.2389,-3.68333,2,
                18.355,-2.88333,0,
                17.9833,-9.76667,2,
                17.6902778,-11.1247222,2,
                17.1728,-15.7167,2,
                10.4911,-2.73333,0,
                4.32944,15.6167,0,
                4.47611,15.95,1,
                4.59833,16.5,1,
                5.62722,21.1333,1,
                4.32944,15.6167,0,
                4.38222,17.5333,1,
                4.47667,19.1667,1,
                4.4228056,22.2938889,1,
                4.4384611,22.8135833,1,
                4.7040833,22.9569444,1,
                4.32944,15.6167,0,
                4.01111,12.4833,1,
                3.5145472,12.9366944,1,
                3.45278,9.71667,1,
                3.41333,9.01667,1,
                4.05222,5.98333,0,
                4.2589056,8.8923611,1,
                4.01111,12.4833,1,
                18.1867,-45.95,0,
                18.4494,-45.9667,2,
                18.48,-49.0667,1,
                1.88444,29.5667,0,
                2.15889,34.9833,1,
                2.28833,33.8333,1,
                1.88444,29.5667,1,
                16.8106,-69.0167,0,
                15.9189,-63.4167,1,
                15.6117,-66.3167,1,
                15.315,-68.6667,1,
                16.8106,-69.0167,1,
                22.4555472,-63.0336389,0,
                22.3083,-60.25,1,
                23.29,-58.2333,1,
                0.525556,-62.95,1,
                0.3345167,-63.1252222,1,
                23.9986056,-64.4228611,1,
                23.29,-58.2333,1,
                13.7922,49.3,0,
                13.3983,54.9167,1,
                12.9,55.95,1,
                12.2567,57.0167,1,
                11.8967,53.6833,1,
                11.0306,56.3667,1,
                11.0617,61.75,1,
                12.2567,57.0167,1,
                11.8967,53.6833,0,
                11.7672,47.7667,2,
                11.1606,44.4833,2,
                10.3717,41.4833,2,
                11.0617,61.75,0,
                9.525,63.05,2,
                8.50389,60.7167,2,
                9.525,63.05,0,
                9.84944,59.0333,2,
                9.54722,51.6667,2,
                8.98667,48.0333,2,
                10.2849417,42.9143611,0,
                11.1606,44.4833,2,
                9.0604167,47.1566667,0,
                9.54722,51.6667,2,
                2.53,89.25,0,
                17.5367,86.5833,1,
                16.7661,82.0333,1,
                15.7339,77.7833,1,
                14.845,74.15,1,
                15.345,71.8333,1,
                16.2917,75.75,1,
                15.7339,77.7833,1,
                8.745,-54.7,0,
                9.36833,-55,1,
                9.94722,-54.5667,1,
                10.7794,-49.4167,1,
                10.2456,-42.1167,1,
                9.51167,-40.4667,1,
                9.13278,-43.4167,1,
                8.15778,-47.3333,1,
                8.745,-54.7,1,
                13.4194,-11.15,0,
                13.5778,-0.583333,1,
                13.0361,10.95,1,
                12.9267,3.38333,1,
                12.6939,-1.43333,1,
                13.4194,-11.15,1,
                9.04056,-66.3833,0,
                8.42889,-66.1333,1,
                8.13167,-68.6167,1,
                7.69667,-72.6,1,
                7.145,-70.4833,1,
                7.28,-67.95,1,
                8.13167,-68.6167,1,
                19.8906,24.0667,0,
                19.4783,24.65,2,
                19.3808,26.2624167,2,

            };

            #endregion
        }


        public Image GetChart(double lat, double lng, double time, double ra, double dec, int width, int height)
        {
            using var activity = _activitySource.StartImageProcessing();

            double radius = width / 2;
            Vector2DD location = new Vector2DD(lng, lat);

            var bmp = new Image<Rgb24>(width, height);

            bmp.Mutate(c =>
            {
                c.Clear(Color.White);
                c.Fill(Color.Black, new EllipsePolygon(0, 0, (float)(radius * 2), (float)(radius * 2)));

                for (int i = 0; i < stars.Length; i += 3)
                {
                    Vector2DD pnt = new Vector2DD(stars[i] / 15, stars[i + 1]);
                    Vector2DD pntOut = Calc.EquitorialToHorizon(pnt, location, time);
                    pntOut.X -= 90;
                    double mag = stars[i + 2];

                    double x = radius - Math.Cos(pntOut.X * Calc.RC) * ((1 - pntOut.Y / 90) * radius);
                    double y = radius + Math.Sin(pntOut.X * Calc.RC) * ((1 - pntOut.Y / 90) * radius);
                    double size = (6 - mag) * 4 / 5;

                    c.Fill(Color.White, new EllipsePolygon((float)(x - (size / 2)), (float)(y - (size / 2)), (float)size, (float)size));
                }

                // draw constellation lines
                double lastX = 0;
                double lastY = 0;
                bool first = true;

                var whitePen = Pens.Solid(Color.White);
                var greenPen = Pens.Solid(Color.Green);

                for (int i = 0; i < figures.Length; i += 3)
                {
                    Vector2DD pnt = new Vector2DD(figures[i], figures[i + 1]);
                    Vector2DD pntOut = Calc.EquitorialToHorizon(pnt, location, time);
                    pntOut.X -= 90;

                    double x = radius - Math.Cos(pntOut.X * Calc.RC) * ((1 - pntOut.Y / 90) * radius);
                    double y = radius + Math.Sin(pntOut.X * Calc.RC) * ((1 - pntOut.Y / 90) * radius);

                    if (figures[i + 2] == 0 || first)
                    {
                        first = false;
                    }
                    else
                    {
                        if (pntOut.Y > -20)
                        {
                            c.DrawLine(Pens.Solid(Color.White), new PointF((float)x, (float)y), new PointF((float)lastX, (float)lastY));
                        }
                    }

                    lastX = x;
                    lastY = y;
                }

                // draw ecliptic

                // draw planets / moon

                // draw labels

                // draw target

                // draw target
                if (ra != 0 && dec != 0)
                {
                    Vector2DD pnt = new Vector2DD(ra / 15, dec);
                    Vector2DD pntOut = Calc.EquitorialToHorizon(pnt, location, time);
                    pntOut.X -= 90;

                    double x = radius - Math.Cos(pntOut.X * Calc.RC) * ((1 - pntOut.Y / 90) * radius);
                    double y = radius + Math.Sin(pntOut.X * Calc.RC) * ((1 - pntOut.Y / 90) * radius);

                    int tSize = width / 50;
                    c.Draw(greenPen, new EllipsePolygon((float)(x - tSize), (float)(y - tSize), tSize * 2, tSize * 2));
                    c.DrawLine(greenPen, new PointF((float)(x - tSize), (float)y), new PointF((float)(x + tSize), (float)y));
                    c.DrawLine(greenPen, new PointF((float)x, (float)(y - tSize)), new PointF((float)x, (float)(y + tSize)));
                }
            });

            return bmp;
        }
    }

    public class Calc
    {
        public const double RC = (Math.PI / 180.0);
        public const double RCRA = (Math.PI / 12.0);

        internal static Vector2DD EquitorialToHorizon(Vector2DD equitorial, Vector2DD location, double jDate)
        {
            double hourAngle = MstFromUTC2(jDate, location.X) - (equitorial.X * 15);

            if (hourAngle < 0)
            {
                hourAngle += 360.00;
            }

            double ha = hourAngle * RC;
            double dec = equitorial.Y * RC;
            double lat = (location.Y) * RC;

            double sinAlt = Math.Sin(dec) * Math.Sin(lat) + Math.Cos(dec) * Math.Cos(lat) * Math.Cos(ha);

            double altitude = Math.Asin(sinAlt);

            double cosAzimith = (Math.Sin(dec) - Math.Sin(altitude) * Math.Sin(lat)) / (Math.Cos(altitude) * Math.Cos(lat));
            double azimuth = Math.Acos(cosAzimith);

            Vector2DD altAz = new Vector2DD(azimuth / RC, altitude / RC);
            if (Math.Sin(ha) > 0)
            {
                altAz.X = (360 - altAz.X);
            }
            return altAz;
        }
        public static double MstFromUTC2(double jDate, double lng)
        {
            double mst;

            double julianCenturies = jDate / 36525.0d;
            mst = 280.46061837 + 360.98564736629d * jDate + 0.000387933d * julianCenturies * julianCenturies - julianCenturies * julianCenturies * julianCenturies / 38710000 + lng;

            return MapTo0To360Range(mst);
        }

        public static double ToJulian(DateTime utc)
        {

            int year = utc.Year;
            int month = utc.Month;
            int day = utc.Day;
            int hour = utc.Hour;
            int minute = utc.Minute;
            double second = utc.Second + utc.Millisecond / 1000.0;

            if (month == 1 || month == 2)
            {
                year -= 1;
                month += 12;
            }

            int a = (int)(year / 100);
            int b = 2 - a + (int)Math.Floor((double)(a / 4.0));
            int c = (int)Math.Floor(365.25 * year);
            int d = (int)Math.Floor(30.6001 * (month + 1));

            double julianDays;


            julianDays = b + c + d - 730550.5 + day + (hour + minute / 60.00 + second / 3600.00) / 24.00;
            return julianDays;
        }

        public static double MapTo0To360Range(double Degrees)
        {
            return Degrees - Math.Floor(Degrees / 360.0) * 360.0;
        }
    }




    struct Vector2DD
    {
        public Vector2DD(double x, double y)
        {
            X = x;
            Y = y;
        }

        public double X;
        public double Y;
    }
}
